package com.yun.zf.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.dto.house.OwnerCertificateDto;
import com.yun.zf.common.admin.model.pact.PactPersonMo;
import com.yun.zf.common.app.domain.ZfOwnerCertificate;
import com.yun.zf.common.admin.model.house.OwnerCertificateMo;

import java.util.List;

/**
 * <p>
 * 业主证件信息表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-03-05
 */
public interface ZfOwnerCertificateService extends IService<ZfOwnerCertificate> {

    public int addOwnerCertificate (OwnerCertificateMo ownerCertificateMo, Long provinceCode, Long cityCode);

    public int motifyOwnerCertificate(OwnerCertificateMo ownerCertificateMo, Long provinceCode, Long cityCode);

    public OwnerCertificateDto getOwnerCertificate(Long basicId, Long provinceCode, Long cityCode);

    /**
     * 产权人信息
     * @param basicId
     * @param provinceCode
     * @param cityCode
     * @return
     */
    public List<PactPersonMo> getOwner(Long basicId, Long provinceCode, Long cityCode);
}
